import request from "../utils/request";

// 根据vin号查询
export function searchByVin(data) {
  return request({
      apiType:'coordinate',
      baseURL: 'carmanage',
      url: `/web/car/searchByVIN` ,
      method: 'post',
      data
  });
};

// 增加车辆
export function CreateCarInfo(data) {
  return request({
      apiType:'coordinate',
      baseURL: 'carmanage',
      url: `/web/car/create` ,
      method: 'post',
      data
  });
};
// 修改车辆
export function UpdateCarInfo(data) {
  return request({
      apiType:'coordinate',
      baseURL: 'carmanage',
      url: `/web/car/update` ,
      method: 'post',
      data
  });
};